.wdu-carousel {
    .wdu-box();
    position: relative;
    overflow: hidden;
    padding: 0;
    height: 300px;
    flex-grow: 1;

    &__film {
        display: flex;
        flex-flow: row nowrap;
        height: 100%;
        position: relative;
        transition: all 0.8s ease-in;
    }

    &__film-noTransition {
        transition: none;
    }

    &__item {
        flex-shrink: 0;
        height: 100%;
        .wdu-center();
    }

    @size: 30px;

    &__switch {
        position: absolute;
        width: @size;
        height: @size;
        border-radius: 50%;
        .wdu-bg-plain();
        .wdu-border-light();
        .wdu-center();

        .buttonMixin() {
            content: '';
            display: block;
            position: relative;
            width: 15px;
            height: 15px;
            left: 3px;
            box-sizing: border-box;
            border: 3px solid black;
            transform: rotate(45deg);
            border-color: rgba(255, 0, 0, 0) rgba(0, 128, 0, 0) #7a7a7a #7a7a7a;
        }

        &:nth-child(2) {
            left: 20px;
            top: calc(50% - @size / 2);

            &::before {
                .buttonMixin();
            }
        }

        &:nth-child(3) {
            right: 20px;
            top: calc(50% - @size / 2);

            &::before {
                .buttonMixin();
                transform: rotate(225deg);
                left: auto;
                right: 3px;
            }
        }

        &:hover {
            cursor: pointer;
        }
    }

    &__pagination {
        width: 100%;
        height: 30px;
        position: absolute;
        bottom: 0;
        left: 0;
        .wdu-center();

        @size: 14px;

        &-item {
            width: @size;
            height: @size;
            border-radius: 50%;
            background-color: rgb(138, 138, 138);
            margin: 0 5px;
            font-size: 12px;
            line-height: @size;
            text-align: center;
            cursor: pointer;
            transition: all 0.3s ease;
            color: white;

            &--active {
                transform: scale(1.2);
                background-color: #d4d4d4;
            }
        }
    }
}